﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Admin.NET.Application.Service.Statistical.DTO;
public class StatisticalBaseReportsInput
{
    /// <summary>
    /// 出库单号
    /// </summary>
    public  string? outboundmanageCode { get; set; }
    /// <summary>
    /// 出库日期
    /// </summary>
    public  DateTime? OutboundTime { get; set; }
    /// <summary>
    /// 出库类型名称
    /// </summary>
    public  string? OutboundName { get; set; }
    /// <summary>
    /// 仓库名称
    /// </summary>
    public  string? WarehouseName { get; set; }
    /// <summary>
    /// 库位名称
    /// </summary>
    public  string? BinlocationName { get; set; }
    /// <summary>
    /// 货品名称
    /// </summary>
    public  string? ItemName { get; set; }

    /// <summary>
    /// 货品编号
    /// </summary>
    public  string? ItemCode { get; set; }
    /// <summary>
    /// 规格型号
    /// </summary>
    public  string? Specifications { get; set; }
    /// <summary>
    /// 单位名称
    /// </summary>
    public  string? UnitName { get; set; }
    /// <summary>
    /// 货品类型名称
    /// </summary>
    public  string? GoodsName { get; set; }
    /// <summary>
    /// 条码
    /// </summary>
    public  string? PrimaryunitBarcode { get; set; }
    /// <summary>
    /// 入库数量
    /// </summary>
    public  int InboundQuantity { get; set; }
    /// <summary>
    /// 入库单价
    /// </summary>
    public  decimal InboundPrice { get; set; }
    /// <summary>
    /// 出库单价
    /// </summary>
    public  decimal OutboundPrice { get; set; }
    /// <summary>
    /// 出库数量
    /// </summary>
    public  int OutboundQuantity { get; set; }
    /// <summary>
    /// 联系人
    /// </summary>
    public  string? Buddies { get; set; }
    /// <summary>
    /// 盘点开始时间
    /// </summary>
    public  DateTime? InventoryStartTime { get; set; }
    /// <summary>
    /// 用户姓名
    /// </summary>
    public  string? UserName { get; set; }
    /// <summary>
    /// 组织名称
    /// </summary>
    public  string? OrganizationName { get; set; }
}

public class StatisticalReportsInput: BasePageInput
{
    /// <summary>
    /// 出库单号
    /// </summary>
    public  string? outboundmanageCode { get; set; }
    /// <summary>
    /// 出库类型
    /// </summary>
    public  long? Id { get; set; }
    /// <summary>
    /// 仓库
    /// </summary>
    public long? WarehouseId {  get; set; }
    /// <summary>
    /// 用户姓名
    /// </summary>
    public string? UserName { get; set; }
    /// <summary>
    /// 货品名称
    /// </summary>
    public string? ItemName { get; set; }
    /// <summary>
    /// 货品类型名称
    /// </summary>
    public string? GoodsId { get; set; }
    /// <summary>
    /// 单位名称
    /// </summary>
    public string? UnitId { get; set; }
    /// <summary>
    /// 出库日期
    /// </summary>
    public DateTime? OutboundTime { get; set; }
    /// <summary>
    /// 联系人
    /// </summary>
    public string? Buddies { get; set; }
    /// <summary>
    /// 部门
    /// </summary>
    public long? Organization {  get; set; }
}
